package com.jackrain.nea.shiro.stateful;

import org.apache.shiro.authc.UsernamePasswordToken;

public class CustomizedToken extends UsernamePasswordToken {

    private LoginType loginType;

    public CustomizedToken(final String username,final String password,LoginType loginType,boolean rememberMe,String ip) {
        super(username,password,rememberMe,ip);
        this.loginType = loginType;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }
}
